#!/bin/sh
[ "$ACTION" = add ] || exit 0
/etc/init.d/zerotier enabled || exit 0
if echo "$DEVICENAME" | grep -q "^zt"; then
    /bin/sh /usr/bin/ztnat.sh > /dev/null 2>&1 &
else
    exit 0
fi
